<?php 
error_reporting(0);
$isadmin=1;
include "../../comm/config.php";
include "../check.php";
if($_POST['chg']!=''){
	$zh=$_POST["zh"]; 
	$mm=$_POST["mm"]; 
	$wzbh=$_POST["wzbh"];
	$miyue=$_POST["miyue"];
	$link = mysql_connect($dbserver, $dbuser, $dbpass);
	if (!$link) {echo ERR_DB;}
	mysql_select_db($dbname);
	mysql_query("set names utf8");
	$sql="update ".$BIAOTOU."websetting set mallzh='".$zh."',mallmm='".$mm."',mallwzbh='".$wzbh."',miyue='".$miyue."'";
	mysql_query($sql);
	mysql_close($link);
	echo "<script language=javascript>window.location='mall_set.php';</script>";
}
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="../css/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
table,tr,td { font-size:12px;}
table a { text-decoration:none; color:#FF6600}
table a:visted { color:#FF66CC; text-decoration:none}
.STYLE1 {color: #FF6600}
-->
</style>
</head>
<body topmargin="5" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="282" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
          <table cellspacing="0" width="100%" height="207" style="border:1px  solid #DCEAF7;">
            <tr>
              <td height="30" colspan="2" bgcolor="E9F2FB" class="bigtext"><strong>&nbsp;<img src="../images/arrow.gif" width="16" height="22" align="absmiddle" /> 商城基本信息设置</strong></td>
            </tr>
            <tr>
              <td width="100%" colspan="2" valign="top"><table width="100%" height="300" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><form id="form1" name="form1" method="post" action="mall_set.php">
                    <br />
                    <table width="720"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
					 
					  <tr>
                        <td width="129" height="30" align="right" class="bigtext">领客特帐号：</td>
                        <td width="597" height="30" class="bigtext">&nbsp;
                          <input name="zh" type="text" id="zh" value="<?php echo MALLZH;?>" size="40" class="btn3" style="width:300px" />
                          &nbsp;<a href="#mydiv" rel="facebox" style="color:#FF6600">注册 </a><a href="http://bbs.duoduo123.com/read-htm-tid-4947.html" target="_blank">教程</a></td>
                      </tr>
                      <tr>
                        <td height="30" align="right" class="bigtext">帐号密码：</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input name="mm" type="password" id="mm" value="<?php echo MALLMM;?>" size="40" class="btn3" style="width:300px" /></td>
                      </tr>
                      <tr>
                        <td height="30" align="right" class="bigtext">网站ID：</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input name="wzbh" type="text" id="wzbh" value="<?php echo MALLWZBH;?>" size="40"  class="btn3" style="width:300px" /></td>
                      </tr>
                      <tr>
                        <td height="3" align="right" class="bigtext" colspan="2"><hr/></td>
                      </tr>
                      <tr>
                        <td height="30" align="right" class="bigtext">一起发协议密钥：</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input name="miyue" type="text" id="miyue" value="<?php echo MIYUE;?>" size="40"  class="btn3" style="width:300px" /> 
&nbsp;<a href="#mydiv_yqf" rel="facebox" style="color:#FF6600">注册</a><a href="http://bbs.duoduo123.com/thread-htm-fid-76.html" rel="facebox" style="color:#FF6600"></a> <a href="http://bbs.duoduo123.com/read-htm-tid-7521.html" target="_blank">教程</a></td>
                      </tr>
                      <tr>
                        <td height="30" align="right">&nbsp;</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input type="submit" name="Submit" value=" 保 存 设 置 " />
                          <input type="hidden" name="chg" value="1" />                         </td>
                      </tr>
                    </table>
                    <br />
                  </form>
                  </td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      
    </table></td>
  </tr>
</table>
</div>
<script src="../js/jquery.js" type="text/javascript"></script>
<script src="../js/facebox.js" type="text/javascript"></script>
<link href="../js/facebox.css" media="screen" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    jQuery(document).ready(function($) {
      $('a[rel*=facebox]').facebox() 
    })
</script>
<div id="mydiv" style="display:none; font:12px; color:#666666;">
<br/>您好！若需增加商城返现必须要注册联盟账号，为了更多分享我们官方特别优惠<br/>强烈建议<span style="font-size:14px; color:#FF0000; font-weight:bold">推荐人写 “ duoduo123 ”</span>你们将可获得与我们官方同级别优惠待遇。<br/><br/>
&nbsp;&nbsp;&nbsp; <a href="http://www.linktech.cn/home/linktech_affil_join08.htm" target="_blank">知道了，立刻注册</a><br/>
<br/>我们的领客特账号为<span style="font-size:12px; color:#FF0000; font-weight:bold">duoduo123 </span>
</div>
<div id="mydiv_yqf" style="display:none; font:12px; color:#666666;">
<br/>您好！若需增加商城返现必须要注册联盟账号，为了更多分享我们官方特别优惠。<br/>强烈建议<span style="font-size:14px; color:#FF0000; font-weight:bold">推荐人写 “ 多多返利 ”</span>你们将可获得与我们官方同级别优惠待遇。<br/><br/>
&nbsp;&nbsp;&nbsp; <a href="http://www.yiqifa.com/userRegEdit.do?regType=earner" target="_blank">知道了，立刻注册</a><br/>
<br/>我们的亿起发账号为<span style="font-size:12px; color:#FF0000; font-weight:bold">多多返利 </span>
</div>
</body>
</html>
<?php mysql_close($link);?>
